import request from '@/utils/request'

// 查询成绩管理列表
export function listTheoryScore(query) {
  return request({
    url: '/exam/theoryScore/list',
    method: 'get',
    params: query
  })
}
// 修改学生成绩
export function updateScore(data) {
  return request({
    url: '/exam/theoryScore/updateScore',
    method: 'post',
    data: data
  })
}
// 修改成绩状态
export function updateStatus(data) {
  return request({
    url: '/exam/theoryScore/updateStatus',
    method: 'post',
    data
  })
}
// 导出数据
export function exportTheoryScore(data) {
    return request({
      url: '/exam/theoryScore/export',
      method: 'post',
      data
    })
  }